from utils.configs import *
from utils.file import *
from utils.log import *
from utils.task_progress import *
from utils.thread import *
from utils.utils import *
from utils.values import *
from utils.lang import *
from utils.base import *

# def init_utils():
#     __dir__ = os.path.dirname(os.path.abspath(__file__))
#     __dir__ = __dir__.replace('\\', '/')
#     set_values(Keys.EXE_PATH, __dir__)
#     cache_path = __dir__
#     set_values(Keys.EXE_CACHE, cache_path)
#     # s = datetime.now().strftime('%Y_%m_%d.%H_%M_%S')
#     s = '0'
#     s = f'{get_values(Keys.EXE_CACHE)}/runs/log/{s}.log'
#     init_logging(s, 10)
#     # 初始化配置
#     s = f'{get_values(Keys.EXE_CACHE)}/runs/config/app.yaml'
#     init_config(s)
#     init_lang(f'{get_values(Keys.EXE_PATH)}/res/lang')